package util;

import java.io.Serializable;

public class MillLog implements Serializable
{
	private int serialNumber;
	private double airTemperature;
	private int windDirection;
	private int windSpeed;
	private int powerOutput;
	private java.sql.Timestamp timeStamp;
	
	public MillLog()
	{
	}
	
	public MillLog(int serialNumber, double airTemperature, int windDirection, int windSpeed, int powerOutput)
	{
		setSerialNumber(serialNumber);
		setAirTemperature(airTemperature);
		setWindDirection(windDirection);
		setWindSpeed(windSpeed);
		setPowerOutput(powerOutput);
	}

	public void setTimeStamp(java.sql.Timestamp timeStamp) {
		this.timeStamp = timeStamp;
	}

	public java.sql.Timestamp getTimeStamp() {
		return timeStamp;
	}

	public void setSerialNumber(int serialNumber) {
		this.serialNumber = serialNumber;
	}

	public int getSerialNumber() {
		return serialNumber;
	}

	public void setAirTemperature(double airTemperature) {
		this.airTemperature = airTemperature;
	}

	public double getAirTemperature() {
		return airTemperature;
	}

	public void setWindDirection(int windDirection) {
		this.windDirection = windDirection;
	}

	public int getWindDirection() {
		return windDirection;
	}

	public void setWindSpeed(int windSpeed) {
		this.windSpeed = windSpeed;
	}

	public int getWindSpeed() {
		return windSpeed;
	}

	public void setPowerOutput(int powerOutput) {
		this.powerOutput = powerOutput;
	}

	public int getPowerOutput() {
		return powerOutput;
	}
}
